package me.zingon.demo.component;

import me.zingon.core.context.annotation.SAutowired;
import me.zingon.core.context.annotation.SComponent;
import me.zingon.core.context.annotation.SService;

@SComponent("myName")
public class TestBean01 {

    String msg = "im 01";

    @SAutowired
    TestBean02 testBean02;


    @Override
    public String toString() {
        System.out.println("im in 01:"+testBean02.msg);
        return "I'm bean01";
    }
}
